﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TorrentProxy
{
    public static class RandomExtensions
    {
        public static float Next(this Random random, float minValue, float maxValue)
        {
            return (maxValue - minValue) * (float)random.NextDouble() + minValue;
        }
    }
}
